﻿using System.Collections.Generic;

using SharedGenomics.Workbench.Core;
using SharedGenomics.Workbench.Aspects;
using SharedGenomics.Domain;

namespace SharedGenomics.Workbench.Services
{
    public interface IFileSchemaRepository
    {
        [LoginRequired]
        Maybe<FileSchema> GetSchemaById(int fileSchemaId);

        [LoginRequired]
        void AddSchema(FileSchema schema);

        [LoginRequired]
        Maybe<IEnumerable<EntityInfo>> GetFileSchemaInfos();
    }
}
